// vite.config.js
import { defineConfig } from "file:///D:/git/elevator-literacy/node_modules/vite/dist/node/index.js";
import react from "file:///D:/git/elevator-literacy/node_modules/@vitejs/plugin-react/dist/index.mjs";
import postcssPresetEnv from "file:///D:/git/elevator-literacy/node_modules/postcss-preset-env/dist/index.mjs";
import postcssPxtorem from "file:///D:/git/elevator-literacy/node_modules/postcss-pxtorem/index.js";
var vite_config_default = defineConfig({
  plugins: [react()],
  base: "./",
  // 打包后的文件引用相对路径
  server: {
    host: "0.0.0.0"
    // 允许局域网访问调试
  },
  css: {
    postcss: {
      plugins: [
        postcssPresetEnv({ stage: 0 }),
        postcssPxtorem({ propList: ["*"] })
      ]
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxnaXRcXFxcZWxldmF0b3ItbGl0ZXJhY3lcIjtjb25zdCBfX3ZpdGVfaW5qZWN0ZWRfb3JpZ2luYWxfZmlsZW5hbWUgPSBcIkQ6XFxcXGdpdFxcXFxlbGV2YXRvci1saXRlcmFjeVxcXFx2aXRlLmNvbmZpZy5qc1wiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9pbXBvcnRfbWV0YV91cmwgPSBcImZpbGU6Ly8vRDovZ2l0L2VsZXZhdG9yLWxpdGVyYWN5L3ZpdGUuY29uZmlnLmpzXCI7aW1wb3J0IHsgZGVmaW5lQ29uZmlnIH0gZnJvbSAndml0ZSdcbmltcG9ydCByZWFjdCBmcm9tICdAdml0ZWpzL3BsdWdpbi1yZWFjdCdcbmltcG9ydCBwb3N0Y3NzUHJlc2V0RW52IGZyb20gJ3Bvc3Rjc3MtcHJlc2V0LWVudidcbmltcG9ydCBwb3N0Y3NzUHh0b3Jl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